import Vue from 'vue'
const Comarr = [
    { name: "Swap", component: () => import ('@/components/module/comm/swap') },
    { name: "ModuleBg", component: () => import ('@/components/module/comm/ModuleBg') },
    { name: "CText", component: () => import ('@/components/module/comm/CText') },
    { name: "UploadImg", component: () => import ('@/components/attr/components/upload_img') },
    { name: "SetBackground", component: () => import ('@/components/attr/components/set_background') },
    { name: "CustomText", component: () => import ('@/components/attr/components/custom_text') }
]

export default () => {
    Comarr.forEach(item => {
        return Vue.component(item.name, item.component)
    })
}
